package com.zy.dp.strategy.example5;

public class OneClass
{
	public void oneMethod(int type)
	{
		if (type == 1)
		{

			String s = "";

			if (s.indexOf("a") > 0)
			{

			}
			else
			{

			}
		}
		else if (type == 2)
		{

			int a = 3;

			if (a > 10)
			{

			}
			else
			{

			}
		}
	}
}